import service from '@/utils/request'

// @Tags UserProjectRefund
// @Summary 创建UserProjectRefund
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserProjectRefund true "创建UserProjectRefund"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userProjectRefund/createUserProjectRefund [post]
export const createUserProjectRefund = (data) => {
     return service({
         url: "/userProjectRefund/createUserProjectRefund",
         method: 'post',
         data
     })
 }


// @Tags UserProjectRefund
// @Summary 删除UserProjectRefund
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserProjectRefund true "删除UserProjectRefund"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userProjectRefund/deleteUserProjectRefund [delete]
 export const deleteUserProjectRefund = (data) => {
     return service({
         url: "/userProjectRefund/deleteUserProjectRefund",
         method: 'delete',
         data
     })
 }

// @Tags UserProjectRefund
// @Summary 删除UserProjectRefund
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除UserProjectRefund"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userProjectRefund/deleteUserProjectRefund [delete]
 export const deleteUserProjectRefundByIds = (data) => {
     return service({
         url: "/userProjectRefund/deleteUserProjectRefundByIds",
         method: 'delete',
         data
     })
 }

// @Tags UserProjectRefund
// @Summary 更新UserProjectRefund
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserProjectRefund true "更新UserProjectRefund"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /userProjectRefund/updateUserProjectRefund [put]
 export const updateUserProjectRefund = (data) => {
     return service({
         url: "/userProjectRefund/updateUserProjectRefund",
         method: 'put',
         data
     })
 }


// @Tags UserProjectRefund
// @Summary 用id查询UserProjectRefund
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserProjectRefund true "用id查询UserProjectRefund"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /userProjectRefund/findUserProjectRefund [get]
 export const findUserProjectRefund = (params) => {
     return service({
         url: "/userProjectRefund/findUserProjectRefund",
         method: 'get',
         params
     })
 }


// @Tags UserProjectRefund
// @Summary 分页获取UserProjectRefund列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取UserProjectRefund列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userProjectRefund/getUserProjectRefundList [get]
 export const getUserProjectRefundList = (params) => {
     return service({
         url: "/userProjectRefund/getUserProjectRefundList",
         method: 'get',
         params
     })
 }